Release 10.1A: OpenEdge Development:
Progress 4GL Reference


PREFER-DATASET attribute

Specifies whether Progress ignores modifications to the data currently in the data source when saving changes from a ProDataSet temp-table buffer to the associated data source using the SAVE-ROW-CHANGES( ) method. The default value is FALSE.

Data type: LOGICAL

Access: Readable/Writeable

Applies to: Data-source object handle

If TRUE, Progress ignores the data currently in the data source and automatically accepts the data from the ProDataSet temp-table buffer.

If FALSE, Progress compares the before-image of the data in the ProDataSet temp-table buffer, saved while tracking changes for the buffer, to the corresponding data source buffer to determine whether the data in the data source has changed since being read. Progress evaluates any data source changes to determine whether or not a data conflict exists based on the MERGE-BY-FIELD attribute setting (that is, on either a field-to-field or buffer-to-buffer basis).


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095